package com.fengze.business.service;

import java.util.List;
import com.fengze.business.domain.InquiryRecord;
import org.springframework.web.multipart.MultipartFile;

/**
 * 询价记录Service接口
 * 
 * @author lug
 * @date 2024-02-01
 */
public interface IInquiryRecordService 
{
    /**
     * 查询询价记录
     * 
     * @param id 询价记录主键
     * @return 询价记录
     */
    public InquiryRecord selectInquiryRecordById(Long id);

    /**
     * 查询询价记录列表
     * 
     * @param inquiryRecord 询价记录
     * @return 询价记录集合
     */
    public List<InquiryRecord> selectInquiryRecordList(InquiryRecord inquiryRecord);

    /**
     * 新增询价记录
     * 
     * @param inquiryRecord 询价记录
     * @return 结果
     */
    public int insertInquiryRecord(InquiryRecord inquiryRecord);

    /**
     * 修改询价记录
     * 
     * @param inquiryRecord 询价记录
     * @return 结果
     */
    public int updateInquiryRecord(InquiryRecord inquiryRecord);

    /**
     * 批量删除询价记录
     * 
     * @param ids 需要删除的询价记录主键集合
     * @return 结果
     */
    public int deleteInquiryRecordByIds(Long[] ids);

    /**
     * 删除询价记录信息
     * 
     * @param id 询价记录主键
     * @return 结果
     */
    public int deleteInquiryRecordById(Long id);

    int insertInquiryRecordWithFile(InquiryRecord inquiryRecord, MultipartFile file) throws Exception;

    int updateInquiryRecordWithFile(InquiryRecord inquiryRecord, MultipartFile file) throws Exception;

    int countByStageProjectId(Long stageProjectId);
}
